<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<%@ taglib prefix="sj" uri="/struts-jquery-tags"%>
<%@ taglib prefix="sjg" uri="/struts-jquery-grid-tags"%>

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
    <s:set name="n_cod"><s:property value="cod_cliente" /></s:set>
    <s:url id="remoteurl" action="listar_hactividades_cli"  escapeAmp ="false" >
            <s:param name="ids" value="%{n_cod}" />
      		<s:param name="opc" value="2" />
	</s:url>
    <sjg:grid 
    	id="gridtable" 
    	caption="Historico actividades" 
    	dataType="json" 
    	href="%{remoteurl}" 
    	pager="true" 
    	gridModel="gridModel"
    	rowList="5,10,15"
    	rowNum="10"
    	rownumbers="true"
    	loadingText="Cargando ..."
    >
    	<sjg:gridColumn name="col1" index="col1" title="Fecha"      	  sortable="true"    width="80"  />
    	<sjg:gridColumn name="col2" index="col2" title="Hora"       	  sortable="false"   width="70"  />
    	<sjg:gridColumn name="col3" index="col3" title="Actividad"  	  sortable="false"   width="140"  />
    	<sjg:gridColumn name="col4" index="col4" title="Detalle"    	  sortable="false"   width="150"  />
    	<sjg:gridColumn name="col5" index="col5" title="Obs Ejecutivo"    sortable="false"   width="200" />
    	<sjg:gridColumn name="col6" index="col6" title="Obs Cliente"      sortable="false"   width="200" />
    	<sjg:gridColumn name="col7" index="col7" title="Area"    	      sortable="false"   width="100"  />
    	<sjg:gridColumn name="col8" index="col8" title="Usuario"          sortable="false"   width="100" />
    </sjg:grid>
</body>
</html>